<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/tree/zTreeStyle/zTreeStyle.css" />
		<script type="text/javascript"
			src="${contextPath}/resource/tree/jquery-1.4.2.js">
</script>
		<script type="text/javascript"
			src="${contextPath}/resource/tree/jquery.ztree-2.6.js">
</script>
		<script type="text/javascript"
			src="${contextPath}/resource/js/systemUtil.js">
</script>
		<!-- 单选按钮 -->
		<script type="text/javascript">
	function submitFrom(fm){
		if(document.getElementById("brand.brandName").value ==""){
			alert("手机品牌不能为空 !");
			return;
		}
		
		fm.submit();
	}
</script>
	</head>
	<body>
		<s:form action="brandAction_save.do" namespace="/brand" method="post">
			<table class="menu_table">
				<tr>
					<th>
						<a href="phoneInfoAction_list.do">手机品牌管理</a>&gt;&gt;新增手机品牌管理
					</th>
				</tr>
			</table>
			<div class="listtable">
				<div class="secondDiv">
					<table class="form_table">
						<tr>
							<th width="20%">
								品牌
							</th>
							<td width="15%">
								<s:textfield name="brand.brandName" id="brand.brandName" size="20"
									maxlength="50" />
								<span class="txtblue" id="resultadminUser">*</span>
							</td>
						</tr>
						
					</table>
					
		<table width="80%" border="0" align="center" cellpadding="3" cellspacing="1">
			<s:token></s:token>
		    <tr>
		      <td align="center"  >
		      <div align="center">
		      	<input type="button" value="" class="apply_style" align="middle" onclick="submitFrom(this.form);"/>
		        <input type="button" onclick="javascript:location='brandAction_list.do'" class="back_style"  />
		        <input type="reset" id="重置 " class="reset_style" value=""/>
		        </div>
		        </td>
		    </tr>
		</table>
				</div>
			</div>
		</s:form>
	</body>
</html>
